projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd926c
)
* abbrev.c (Fexpand_abbrev): Only copy the text we're going to
author
Jim Blandy
<jimb@redhat.com>
Tue, 23 Feb 1993 14:17:11 +0000
(14:17 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Tue, 23 Feb 1993 14:17:11 +0000
(14:17 +0000)
expand - from wordstart to wordend, not from wordstart to point -
into the buffer. There might be non-word text between wordend and
point.
src/abbrev.c
patch
|
blob
|
history
diff --git
a/src/abbrev.c
b/src/abbrev.c
index f56054bda515fccd5c99143c8cdea35dd6451367..c9ea673e6960feb14154ba0757afd1553a80f241 100644
(file)
--- a/
src/abbrev.c
+++ b/
src/abbrev.c
@@
-257,7
+257,7
@@
Returns t if expansion took place.")
p = buffer = (char *) alloca (wordend - wordstart);
- for (idx = wordstart; idx <
point
; idx++)
+ for (idx = wordstart; idx <
wordend
; idx++)
{
register int c = FETCH_CHAR (idx);
if (UPPERCASEP (c))